﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <link rel="icon" href="/favicon.ico">

    <title>流程线条设置</title>
    <link href="/assets/plugins/font/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/assets/plugins/bootstrap/bootstrap.min.css" rel="stylesheet"/>


    <link href="/module/style/lr-common.css" rel="stylesheet"/>
    <link href="/module/plugin/scroll/scroll.css" rel="stylesheet"/>
    <link href="/module/style/lr-iframe-form.css" rel="stylesheet"/>
    <link href="/module/plugin/wizard/wizard.css" rel="stylesheet"/>
    <link href="/module/plugin/tree/lr-tree.css" rel="stylesheet"/>
    <link href="/module/plugin/select/lr-select.css" rel="stylesheet"/>

    <link href="/module/plugin/timeline/lr-timeline.css" rel="stylesheet"/>
    <link href="/module/plugin/formselect/lr-formselect.css" rel="stylesheet"/>
    <link href="/module/plugin/inputsearch/lr-isearch.css" rel="stylesheet"/>
    <link href="/module/plugin/grid/jfgrid.css" rel="stylesheet"/>
    <link href="/module/plugin/uploader/lr-uploader.css" rel="stylesheet"/>
    <link href="/module/plugin/date/lr-datepicker.css" rel="stylesheet"/>

    <link href="lineForm.css" rel="stylesheet"/>

    <script src="/assets/plugins/jquery/jquery-1.10.2.min.js"></script>
    <script src="/assets/plugins/jquery/jquery.md5.min.js"></script>
    <script src="/assets/plugins/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
    <script src="/assets/plugins/laydate/laydate.js"></script>
    <script src="/assets/plugins/ueditor/ueditor.config.js"></script>
    <script src="/assets/plugins/ueditor/ueditor.all.min.js"></script>
    <script src="/assets/plugins/ueditor/lang/zh-cn/zh-cn.js"></script>

    <!--[if lt IE 9]>
    <script src="/assets/plugins/bootstrap/html5shiv.min.js"></script>
    <script src="/assets/plugins/bootstrap/respond.min.js"></script>
    <![endif]-->
    <script>
        function request(d) { for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) { var b = c[a].split("="); if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1]) } return "" };
    </script>

</head>
<body class="Chrome 64.0 lr-uitheme-top">
<div id="lr_form_bg" class="lr-form-bg">
</div>


<div style="position:relative;width:100%;height:100%;">
    <div class="lr-form-tabs" id="lr_form_tabs">
        <ul class="nav nav-tabs">
            <li class="active"><a data-value="baseInfo"><span class="lrlg">基本配置</span></a></li>
            <li><a data-value="operation"><span class="lrlg">绑定操作</span></a></li>
        </ul>
    </div>
    <div class="tab-content" id="tab_content">
        <div id="baseInfo" class="tab-pane  lr-form-wrap active">
            <div class="col-xs-12 lr-form-item">
                <div class="lr-form-item-title">名称</div>
                <input id="name" type="text" class="form-control" placeholder="请输入名称" />
            </div>
            <div class="col-xs-12 lr-form-item">
                <div class="lr-form-item-title">颜色</div>
                <div id="color"></div>
            </div>
            <div class="col-xs-12 lr-form-item">
                <div class="lr-form-item-title">通过策略</div>
                <div id="strategy"></div>
            </div>
            <div class="col-xs-12 lr-form-item" style="display:none;">
                <div class="lr-form-item-title">通过项</div>
                <div id="agreeList"></div>
            </div>
        </div>
        <div id="operation" class="tab-pane" style="position:relative;width:100%;height:100%;padding:5px;">
            <div style="position:relative;border:1px solid #ccc;width:100%;height:100%;padding-top:39px;">
                <div id="operationTypeDiv" style="position:absolute;top:0;left:0;width:100%;height:39px;border-bottom:1px solid #ccc;">
                    <div class="col-xs-12 lr-form-item">
                        <div class="lr-form-item-title"><span class="lrlg">操作类型</span></div>
                        <div class="radio lr-radio" type="lr-radio" id="operationType">
                            <label>
                                <input name="operationType" type="radio" value="sql" checked="checked" />
                                sql
                            </label>
                            <label>
                                <input name="operationType" type="radio" value="interface" />
                                <span class="lrlg">接口</span>
                            </label>
                            <label>
                                <input name="operationType" type="radio" value="ioc" />
                                <span class="lrlg">依赖注入方法</span>
                            </label>
                        </div>
                    </div>
                </div>
                <div style="position:relative;width:100%;height:100%;">
                    <div id="sql" class="operationDiv"  style="position:relative;width:100%;height:100%;padding-top:73px;">
                        <div style="position:absolute;height:66px;width:100%;padding:5px;top:0;left:0;">
                            <div class="alert alert-danger" style="position:relative;text-align: left;margin:0;">
                                <i class="fa fa-question-circle alert-dismissible" style="position: relative; top: 1px; font-size: 15px; padding-right: 5px;"></i>
                                <span class="lrlg">注意：请在开发人员指导下进行配置SQL语句（{processId}流程发起实例主键{userId}用户Id{userAccount}用户账号{companyId}用户公司{departmentId}用户部门{code}上一节点操作码）！</span>
                            </div>
                        </div>
                        <div class="lr-form-wrap" style="padding:5px 5px 8px 5px;padding-top:40px;">
                            <div style="position:absolute;left:0;top:5px;width:100%;height:28px;padding:0 5px;"><div id="dbId" style="position:relative;width:100%;height:100%;"></div></div>
                            <textarea id="strSql" class="form-control" style="height: 50%" placeholder="请填写Sql语句"></textarea>
                            <textarea id="strSqlR" class="form-control" style="height: 50%;margin-top:3px;" placeholder="请填写Sql语句（撤销执行）"></textarea>
                        </div>
                    </div>
                    <div id="interface" class="operationDiv" style="position:relative;width:100%;height:100%;display:none;padding-top:90px;">
                        <div style="position:absolute;height:54px;width:100%;padding:5px;top:0;left:0;">
                            <div class="alert alert-danger" style="position:relative;text-align: left;margin:0;">
                                <i class="fa fa-question-circle alert-dismissible" style="position: relative; top: 1px; font-size: 15px; padding-right: 5px;"></i>
                                <span class="lrlg">注意：必须要开发人员指导下进行配置支持Post方法的接口,json数据格式。{processId:'流程发起实例主键',userId:'用户Id',userAccount:'用户账号',companyId:'用户公司',departmentId:'用户部门',code:'上一节点操作码'}(或咨询力软售后人员)！</span>
                            </div>
                        </div>
                        <div class="lr-form-wrap" style="padding:5px 5px 8px 5px;">
                            <textarea id="strInterface" class="form-control" placeholder="请填写接口地址" style="height: 50%"></textarea>
                            <textarea id="strInterfaceR" class="form-control" placeholder="请填写接口地址（撤销执行）" style="height: 50%;margin-top:3px;"></textarea>
                        </div>

                    </div>
                    <div id="ioc" class="operationDiv" style="position:relative;width:100%;height:100%;display:none;padding-top:54px;">
                        <div style="position:absolute;height:54px;width:100%;padding:5px;top:0;left:0;">
                            <div class="alert alert-danger" style="position:relative;text-align: left;margin:0;">
                                <i class="fa fa-question-circle alert-dismissible" style="position: relative; top: 1px; font-size: 15px; padding-right: 5px;"></i>
                                <span class="lrlg">注意：必须要开发人员指导下进行配置注册的IOC方法名(或咨询力软售后人员)！</span>
                            </div>
                        </div>
                        <div class="lr-form-wrap" style="padding:5px 5px 8px 5px;">
                            <textarea id="iocName" class="form-control" placeholder="请填写方法名" style="height: 50%"></textarea>
                            <textarea id="iocNameR" class="form-control" placeholder="请填写方法名（撤销执行）" style="height: 50%;margin-top:3px;"></textarea>
                        </div>

                    </div>
                </div>
            </div>



        </div>
    </div>
</div>

<script src="lineForm.js"></script>

<script src="/module/config.js"></script>
<script src="/module/plugin/resize/resize.js"></script>
<script src="/module/plugin/mousewheel/mousewheel.js"></script>
<script src="/module/plugin/layout/lr-layout.js"></script>
<script src="/module/plugin/scroll/scroll.js"></script>
<script src="/module/plugin/tree/lr-tree.js"></script>
<script src="/module/plugin/select/lr-select.js"></script>
<script src="/module/plugin/timeline/lr-timeline.js"></script>
<script src="/module/plugin/formselect/lr-formselect.js"></script>
<script src="/module/plugin/date/lr-datepicker.js"></script>
<script src="/module/plugin/grid/jfgrid.js"></script>
<script src="/module/plugin/wizard/wizard.js"></script>
<script src="/module/plugin/uploader/lr-uploader.js"></script>
<script src="/module/script/lr-validator.js"></script>
<script src="/module/script/lr-authorize.js"></script>
<script src="/module/script/lr-excel.js"></script>
<script src="/module/script/lr-form.js"></script>

<script>
    var lrModuleButtonList;var lrModuleColumnList;var lrModule;
    $.lrToken = config.getToken().access_token;
    $(function () {
        $('#lr_form_bg').fadeOut();
        $('#form').lrscroll();


        if (!!window.bootstrap) {
            bootstrap(jQuery, top.learun);
        }
    });
</script>

</body>
</html>
